package com.junjie.checkin.entity;

import java.util.Date;
import com.baomidou.mybatisplus.annotation.*;
import com.junjie.checkin.entity.Enum.ActivityHistoryStatusEnum;
import lombok.Data;
import java.io.Serializable;

/**
 * 学生活动历史记录表(TStudentActivityHistory)实体类
 *
 * @author makejava
 * @since 2025-06-13 21:57:15
 */
@Data
@TableName("t_student_activity_history")
public class TStudentActivityHistory implements Serializable {
    private static final long serialVersionUID = -48506739777207898L;
    
/**
     * 主键ID
     */    
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    
/**
     * 参与活动的用户ID,管理员用户不可参与
     */    
    @TableField(value = "user_id")
    private Integer userId;
    
/**
     * 学生名称
     */    
    @TableField(value = "student_name")
    private String studentName;
    
/**
     * 活动ID
     */    
    @TableField(value = "activity_id")
    private Integer activityId;

    @TableField(value = "status")
    private ActivityHistoryStatusEnum status;
    
/**
     * 活动名称
     */    
    @TableField(value = "activity_name")
    private String activityName;
    
/**
     * 活动时间
     */    
    @TableField(value = "activity_time")
    private String activityTime;
    
/**
     * 得分
     */    
    @TableField(value = "point")
    private Integer point;
    
    
    @TableField(value = "create_time",fill = FieldFill.INSERT)
    private Date createTime;
    
    
    @TableField(value = "create_by")
    private String createBy;
    
    
    @TableField(value = "update_time",fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
    
    
    @TableField(value = "update_by")
    private String updateBy;
    
}
